package com.itechhero.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description:文件配置文件
 * @author: godkey
 * @Date: 2020/12/7 14:14
 */
@Component
@ConfigurationProperties(prefix = "file")
public class FileConfig {

    /** 上传路径 */
    private static String profile;

    public static String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        FileConfig.profile = profile;
    }
}
